package com.gcb.service;

import com.gcb.entity.PageResult;
import com.gcb.entity.QueryPageBean;
import com.gcb.pojo.CheckGroup;
import com.gcb.pojo.CheckItem;
import com.gcb.pojo.Setmeal;

import java.util.List;

/**
 * @Author 35235
 * @Date 2021/8/6 12:53
 * @Version 1.0
 */
public interface SetMealService {
    List<CheckGroup>findAllCheckgroup();

    PageResult queryQuery(QueryPageBean queryPageBean);

    boolean add(Integer[] checkGroupIds, Setmeal setmeal);

    boolean delete(Integer id);

    Setmeal findById(Integer id);

    Integer[] findCheckGroupIdsBySetMealId(Integer id);

    boolean update(Integer[] checkGroupIds,Setmeal setmeal);

    public List<Setmeal> findAll();

    public List<CheckGroup>findCheckGroupsByIds(Integer[] ids);

    /*
    * checkgroup的id
    * */
    public List<CheckItem> findCheckItemsById(Integer id);

}
